home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / 80X86 / IDA35X.ZIP / IDACHECK.BAT < prev    next >
Encoding:
DOS Batch File  |  1995-12-18  |  574 b   |  26 lines

  1. @echo off
  2. rem
  3. rem    This command file repairs IDA database.
  4. rem
  5. rem    Usually it will be run from IDA automatically.
  6. rem    To run it manually:
  7. rem        - run IDA and exit with "Don't pack database"
  8. rem        - run this command file on the *.ID0 file
  9. rem          for example: IDACHECK MYBASE.ID0
  10. rem        - if you don't want to keep the database in the
  11. rem          unpacked form, run IDA and exit with "Pack..." 
  12. rem
  13. cls
  14. btv -c %1
  15. btv %1 idachk.tmp
  16. if errorlevel 1 goto Error
  17. del %1
  18. rename idachk.tmp %1
  19. idacomp %1
  20. goto Ex
  21. :Error
  22. echo .
  23. echo .    Error during validation
  24. echo .
  25. :Ex
  26.